package com.relanet.dao;

import com.relanet.model.NlpWeiboCollection;

/**
 * 收藏博文表操作类
 * @author buzc
 * @since 2011-9-26
 */
public interface INlpWeiboCollectionDao {
	public static final String table_name = "nlp_weibo_collection";
	public static final String wid = "wid";
	public static final String uid = "uid";
	public static final String colltime = "colltime";
	
	/**
	 * 新增一条博文收藏
	 * @param weibo
	 * @return
	 */
	public boolean add(NlpWeiboCollection weibo);

	
	/**
	 * 删除一条博文收藏
	 * @param weibo
	 * @return
	 */
	public boolean delete(NlpWeiboCollection weibo);
	
	/**
	 * 根据收藏博文的用户ID查询相应博文
	 * @param uid
	 * @return
	 */
	public NlpWeiboCollection getWeiboByUid(long uid);
}
